package com.dtp.core.monitor.collector;

/**
 * 抽象指标收集器
 *
 * @author linyanhong@ihuman.com
 * @since 1.0.0
 *
 * @remark muse
 **/
public abstract class AbstractCollector implements MetricsCollector {

    /** 校验type的时候，默认忽略大小写 */
    @Override
    public boolean support(String type) {
        return this.type().equalsIgnoreCase(type);
    }
}
